<template>
  <!-- 支付宝支付界面 -->
    <div class="ali-pay box-shadow mt-4 border-radius" v-loading="flag">
        <div v-html="payInfo" ref="pay"></div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            payInfo: "",
            flag: true
        };
    },
    mounted() {
        this.$loading(true);
        this.payInfo = this.$route.query.form
        console.log(this.payInfo)
        console.log(this.$router)
        this.$nextTick(() => {
            this.$refs.pay.children[0].submit();
            setTimeout(() => {
                this.flag = false
            },1000)
        });
    },
    methods: {},
};
</script>
<style >
.ali-pay {
}
</style>